import React from 'react'
import {connect} from 'react-redux'
 function comB(props) {
    console.log('conB',props)
    return (
        <div>
           {props.count}
        </div>
    )
}
const mapStateToProps = (state)=>{
 // console.log('conB',state)
  return state
}
export default connect(mapStateToProps)(comB)
